package com.vector.service;

import com.vector.pojo.Book;
import org.springframework.stereotype.Service;

import java.util.List;


public interface BookService {

    List<Book> queryAllBook();

    Book queryBookById(String bookISBN);

    int addBook(Book book);

    int updateBook(Book book);

    int deleteBook(String bookISBN);

    List<Book> queryBookByType(String booktype);


}
